package org.example.cet.demos.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hq
 * @since 2024-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("student")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 学号
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 身份证号
     */
    private String idCard;


    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String gender;

    /**
     * 学院
     */
    private String college;

    /**
     * 年级(入校年份)
     */
    private Integer grade;

    /**
     * 专业
     */
    private String major;

    /**
     * 班级
     */
    private String classId;


    /**
     * 连接老师
     */
    private Long teachId;



}
